import React, { useState, useRef } from 'react';
import { Input, Button, Form, Pagination, Empty, Avatar } from "antd";
import styles from "./index.less";
import { connect } from 'umi';

import SectionTitle from '@/components/SectionTitle';
const Company = ({ global: { companyinfo } }) => {
    console.log(companyinfo);


    return (
        <div style={{ padding: "0 20px" }}>
            <div className='content'>
                <SectionTitle size="large">公司介绍</SectionTitle>
                <p style={{ padding: "12px 0", textIndent: 24 }}>
                    {companyinfo?.info?.companyProfile}
                </p>


            </div>
        </div>
    )
}

export default connect(({ global, login }) => ({
    global,
    login,
}))(Company);;